package Net;

public abstract class Line {
	private int AdjNodeId;
	private Line NextLine;
	public Line(){
		this.setAdjNodeId(-1);
	}
	public Line(int NodeId){
		this.setAdjNodeId(NodeId);
	}
	public Line getNextLine(){
		return this.NextLine;
	}
	public void setNextLine(Line nextLine) {
		this.NextLine = nextLine;
	}
	public int getAdjNodeId() {
		return AdjNodeId;
	}
	public void setAdjNodeId(int adjNodeId) {
		AdjNodeId = adjNodeId;
	}
}
